xen/arm: pci: modify pci_find_host_bridge_node argument to const pdev
authorRahul Singh <rahul.singh@arm.com>
Fri, 9 Sep 2022 09:34:39 +0000 (10:34 +0100)
committerStefano Stabellini <stefano.stabellini@amd.com>
Fri, 9 Sep 2022 20:48:13 +0000 (13:48 -0700)
commit943941fb7a5f968cb48c2b7a8c00f53ad6728575
tree49794e57a66bea63fb0cfaf04e85c514e08f9387
parent826956157d52ebf6b926eef70d8bb3b849de8e08
xen/arm: pci: modify pci_find_host_bridge_node argument to const pdev

Modify pci_find_host_bridge_node argument to const pdev to avoid
converting the dev to pdev in pci_find_host_bridge_node and also
constify the return.

Signed-off-by: Rahul Singh <rahul.singh@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
xen/arch/arm/include/asm/pci.h
xen/arch/arm/pci/pci-host-common.c